package com.huaxin.common;

/**
 * Created by Administrator on 2016/10/25.
 */

public class Constants {
    public static final int WARNING_TYPE_ALL    = 0x00;
    public static final int WARNING_TYPE_WARING = 0x01;
    public static final int WARNING_TYPE_NOTICE = 0x02;

    public static final int RET_USER       = 0x01;
    public static final int RET_SEARCH     = 0x20;
    public static final int RET_SELECT_ORG = 0x22;
    public static final int RET_SWEEP      = 0x23;
    public static final int RET_WT_STATE   = 0x24;
    public static final int RET_XJ_STATE   = 0x25;

    public static final String URL_KEY           = "URL_KEY";
    public static final String TITLE_KEY         = "TITLE_KEY";
    public static final String TEST_STATION_CODE = "e";

    public static final String APP_NAME         = "app.apk";
    public static final String CUSTOMER_SERVICE = "027-87775234";

    /**
     * intent key
     */
    public static final String IK_SEARCH                         = "IK_SEARCH";
    public static final String IK_WT_STATE                       = "IK_WT_STATE";
    public static final String IK_ARRANGE_STATE                  = "IK_ARRANGE_STATE";
    public static final String IK_DEVICE_CODE                    = "IK_DEVICE_CODE";
    public static final String IK_DEVICE_NAME                    = "IK_DEVICE_NAME";
    public static final String IK_STATION_IMG                    = "IK_STATION_IMG";
    public static final String IK_STATION_CODE                   = "IK_STATION_CODE";
    public static final String IK_STATION_TYPE                   = "IK_STATION_TYPE";
    public static final String IK_ARRANGE_WT                     = "IK_ARRANGE_WT";
    public static final String IK_WT_ID                          = "IK_WT_ID";
    public static final String IK_STATION                        = "IK_STATION";
    public static final String IK_ORG                            = "IK_ORG";
    public static final String IK_STATION_LIST                   = "IK_STATION_LIST";
    public static final String IK_WT_TYPE                        = "IK_WT_TYPE";
    public static final String IK_SWEEP_TYPE                     = "IK_SWEEP_TYPE";
    public static final String IK_WATER_INTAKE                   = "IK_WATER_INTAKE";
    public static final String IK_WT_TITLE                       = "IK_WT_TITLE";
    public static final String IK_SWEEP_MODE                     = "IK_SWEEP_MODE";
    public static final String IK_PLATE_NUM                      = "IK_PLATE_NUM";
    public static final String IK_VEHICLE_MODEL                  = "IK_VEHICLE_MODEL";
    public static final String IK_XJ_ID                          = "IK_XJ_ID";
    public static final String IK_XJ_BUILDING                    = "IK_XJ_BUILDING";
    public static final String IK_XJ_STATION_NAME                = "IK_XJ_STATION_NAME";
    public static final String IK_XJ_STATE                       = "IK_XJ_STATE";
    public static final String IK_XJ_POSITION                    = "IK_XJ_POSITION";
    /**
     * Preferences key
     */
    public static final String PK_DOUBLE_CLICK_EXIT              = "PK_DOUBLE_CLICK_EXIT"; //双击返回退出
    public static final String PK_SAVE_PW                        = "PK_SAVE_PW"; //记住密码
    public static final String PK_AUTO_LOGIN                     = "PK_AUTO_LOGIN"; //自动登录
    public static final String PK_NOTIFICATION_ACCEPT            = "PK_NOTIFICATION_ACCEPT"; //接收消息
    public static final String PK_NOTIFICATION_SOUND             = "PK_NOTIFICATION_SOUND"; //铃声
    public static final String PK_NOTIFICATION_VIBRATION         = "PK_NOTIFICATION_VIBRATION"; //震动
    public static final String PK_NOTIFICATION_DISABLE_WHEN_EXIT = "PK_NOTIFICATION_DISABLE_WHEN_EXIT";//退出后接受消息


    /**
     * ACache Key
     */
    public static final String AC_MAIN_INFO_TYPE       = "AC_MAIN_INFO_TYPE";
    public static final String AC_USER                 = "AC_USER";
    //首页发现 Viewpager 圈子
    public static final String AC_DISCOVER_INFO_All    = "AC_DISCOVER_INFO";
    //企业
    public static final String AC_DISCOVER_INFO_FIRM   = "AC_DISCOVER_INFO_FIRM";
    //好友
    public static final String AC_DISCOVER_INFO_FRIEND = "AC_DISCOVER_INFO_FRIEND";
    //关注
    public static final String AC_DISCOVER_INFO_FOCUS  = "AC_DISCOVER_INFO_FOCUS";
    //我的
    public static final String AC_DISCOVER_INFO_MIME   = "AC_DISCOVER_INFO_MIME";




    /**
     * default
     */
    public static final int    DEFAULT_LOADING_IMG     = R.drawable.icon_default1;//默认加载图片
    public static final String EMPTY_VIEW              = "EMPTY_VIEW";
    public static final String IK_FEED_BACK            = "IK_FEED_BACK";
    public static final String IK_VEHICLE_RECORD       = "IK_VEHICLE_RECORD";
    public static final String IK_EXTRA                = "IK_EXTRA";
    public static final String IK_INFO_TYPE            = "IK_INFO_TYPE";
    public static final String HEADER_VIEW             = "HEADER_VIEW";
    public static final String IK_STATION_NAME = "IK_STATION_NAME";
    public static final String IK_DATAITEM_ID  = "IK_DATAITEM_ID";
    public static final String FOOTER_VIEW     = "FOOTER_VIEW";
    public static final String IK_AT_STATE   = "IK_AT_STATE";
    public static final String IK_TASK_PAUSE  = "IK_AT_STATE";//工单暂停
    public static final int    RET_AT_STATE   = 0x25;
    public static final String IK_TYPE        = "index";
    public static final String IK_ARRANGE_ID  = "arrange_id";
    public static final String IK_CUNJIAN_ID  = "arrange_id";
    public static final String IK_TASK_ID     = "task_id";
    public static final String IK_TASK_TYPE   = "task_xunjian_type";
    public static final String IK_TARGET_DATA = "ik_target_data";
    public static final String IK_PLAN_TYPE      ="ik_plan_type";
    public static final String IK_REPO_ID      ="ik_repo_id";
    public static final String IK_PLAN_CONTENT = "ik_plan_content";
    public static int    scanSpan          = 5; //定位周期 5s
    public static String notification_note = "notification_note";

    //控制dialogfragment 取消文字
    public static final String DIALOG_CANCLE_STR    = "DIALOG_CANCLE_STR";
    //控制dialogfragment 确定文字
    public static final String DIALOG_UPLOADBTN_STR = "DIALOG_UPLOADBTN_STR";
    //控制dialogfragment 是否显示上传图片
    public static final String DIALOG_IS_PHONE      = "DIALOG_IS_PHONE";
    //控制dialogfragment 是否显示上传视频
    public static final String DIALOG_IS_VIDEO      = "DIALOG_IS_VIDEO";
    //指标名称
    public static final String TARGET_NAME      = "TARGET_NAME";
    //开关量=0 模拟量=1
    public static final String TARGET_DATAMOLD      = "TARGET_DATAMOLD";
}
